<template>
  <!-- 下月工作安排 -->
   <a-table class="takeOut-hover" :columns="columns" bordered :pagination="false" :data-source="tableData">
     <template v-for="col in columns" :slot="col.dataIndex" slot-scope="text, record,index">
        {{noValue(record[col.dataIndex],index,col.dataIndex)}}
      </template>
  </a-table>
</template>
<script>
import { summaryMixin } from "./mergeCell";
export default {
  mixins:[summaryMixin], //混入文件 
  name: 'a' + Date.now(),
  props: {
    tableData: {
      type: Array,
      default() {
        return []
      }
    }
  },
  data() {
    this.columns = [
      { title: '序号',align: 'center',dataIndex: 'serial', width: 85,scopedSlots: { customRender: 'serial' } },
      { title: '单位名称', dataIndex: 'branchComName', align: 'center', ellipsis: false,width: 500,scopedSlots: { customRender: 'branchComName' }},
      { title: '计划工作内容', dataIndex: 'content', align: 'center', ellipsis: false,scopedSlots: { customRender: 'content' }},
    ]
    return {
    }
  },
  methods: {
  },
  mounted() {
  }
}
</script>
<style lang="less">
</style>
